package com.sright.bcard.content.dal.mapper;

import com.sright.bcard.common.service.share.base.dao.BaseMapper;
import com.sright.bcard.common.service.share.dto.page.PageParamRequest;
import com.sright.bcard.content.dal.entity.FeedbackDO;
import org.apache.ibatis.annotations.Param;


import java.util.List;

public interface FeedbackDOMapper extends BaseMapper<FeedbackDO> {
    public Integer count(@Param("memberId") Long memberId);

    public List<FeedbackDO> pageList(@Param("beginDate")Long beginTime, @Param("endDate") Long endTime,
                                     @Param("status") Integer status,
                                     @Param("page") PageParamRequest request);

    boolean updateStatus(@Param("id") Long feedbackId, @Param("status") Integer status);

}